package com.aaa.service.impl;

import com.aaa.entity.ViewTestPlan;
import com.aaa.dao.ViewTestPlanDao;
import com.aaa.service.ViewTestPlanService;
import org.springframework.stereotype.Service;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.PageRequest;

import javax.annotation.Resource;

/**
 * (ViewTestPlan)表服务实现类
 *
 * @author
 * @since 2022-07-06 11:33:40
 */
@Service("viewTestPlanService")
public class ViewTestPlanServiceImpl implements ViewTestPlanService {
    @Resource
    private ViewTestPlanDao viewTestPlanDao;


    /**
     * @create by: Teacher陈（86521760@qq.com）
     * @description: 根据测试code查询测试计划
     * @create time: 2022/7/7 9:48
     * @param testCode
     * @return ViewTestPlan
     */
    @Override
    public ViewTestPlan queryByTestCode(Integer testCode) {
        return viewTestPlanDao.queryByTestCode(testCode);
    }
}
